package com.example.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @ClassName DemoController
 * @Description TODO
 * @Author: XMK
 * @Date: 2020/4/15 18:04
 * @Version: 1.0
 */
@Controller
@RequestMapping("/")
public class DemoController {

    @GetMapping
    public String index() {
        return "index";
    }
}
